package com.jacky.me.plugin;

import android.app.Application;

import com.jacky.me.plugin.ui.hook.step1.ProxyActivity;
import com.jacky.me.plugin.ui.hook.step1.HookUtil;

/**
 * Created by jacky on 2017/4/1.
 * banker devel0per
 * <p></p>
 */
public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        //这个ProxyActivity在清单文件中注册过，以后所有的Activitiy都可以用ProxyActivity无需声明，绕过监测
        HookUtil hookAmsUtil = new HookUtil(ProxyActivity.class, this);
        hookAmsUtil.hookAms();
        hookAmsUtil.hookSystemHandler();
    }
}
